
<div class="modal-content" style="width: 650px; height: 380px;">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal"
			aria-hidden="true" ng-click="onClose();">×</button>
		<h4 class="modal-title" id="myModalLabel">
			<span>新增</span>
		</h4>
	</div>
	<div class="modal-body">
		<div class="row">
			<div class="col-xs-12">
				<div class="form-group col-xs-6">
					<label class="col-xs-4 control-label text-right">机构编号:</label>
					<div class="col-xs-8">
						<input class="cursor-pointer full-width" type="text" ng-click="addMedical();" value="{{medicalDatas.code}}" readonly="readonly"/>
					</div>
				</div>
				<div class="form-group col-xs-6">
					<label class="col-xs-4 control-label text-right">机构名称:</label>
					<div class="col-xs-8">
						<input class="cursor-pointer full-width" type="text" ng-click="addMedical();" value="{{medicalDatas.name}}" readonly="readonly"/>
					</div>
				</div>
			</div>
			<div class="col-xs-12">
				<div class="form-group col-xs-6">
					<label class="col-xs-4 control-label text-right">医护人员编号:</label>
					<div class="col-xs-8">
						<input class="cursor-pointer full-width" type="text" ng-click="addStaff();" value="{{staffdatas.code}}" readonly="readonly"/>
					</div>
				</div>
				<div class="form-group col-xs-6">
					<label class="col-xs-4 control-label text-right">医护人员姓名:</label>
					<div class="col-xs-8">
						<input class="cursor-pointer full-width" type="text" ng-click="addStaff();" value="{{staffdatas.name}}" readonly="readonly"/>
					</div>
				</div>
			</div>
			<div class="col-xs-12">
				<div class="form-group col-xs-6">
					<label class="col-xs-4 control-label text-right">案件日期:</label>
					<div class="col-xs-8">
						<input class="form-control" fwa-datetime="" data-type="month" data-format="yyyy-mm-dd" ng-model="formDeduction.happenDate">
					</div>
				</div>
				<div class="form-group col-xs-6">
					<label class="col-xs-4 control-label text-right">惩罚日期:</label>
					<div class="col-xs-8">
						<date-range-input ng-model="formDeduction.date" data-type="month"		
			  					data-format="yyyy-mm-dd"></date-range-input>
					</div>
				</div>
			</div>
			<!-- <div class="col-xs-12">
				<div class="form-group col-xs-6">
					<label class="col-xs-4 text-right">姓名:</label>
					<div class="col-xs-8">
						<span ng-bind="warningData.name"></span>
					</div>
				</div>
				<div class="form-group col-xs-6">
					<label class="col-xs-4 text-right">人员编码:</label>
					<div class="col-xs-8">
						<span ng-bind="warningData.code"></span>
					</div>
				</div>
			</div> -->
			<div class="col-xs-12">
					<div class="form-group col-xs-6">
						&nbsp;
					</div>
					<div class="form-group col-xs-6">
						<label class="col-xs-4 text-right">&nbsp;</label>
						<div class="col-xs-8">
							<button type="button" class="btn btn-primary btn-sm" ng-click="marking(2,staffdatas,medicalDatas.code,'');">记分</button>
						</div>
					</div>
			</div>			
    	</div>
    	<div class="row full-height">
	    	<div class="" style="max-height:120px; overflow:auto;margin-left: 8px;margin-right: 8px;">
			<table class="table fwa-table table-bordered">
						<thead>
							<tr>
								<th width="20%">记分分值</th>
								<th width="80%">评分类别</th>
							</tr>
						</thead>
						<tbody>
						 <!-- ng-class="{'info':true}" -->
							<tr ng-repeat="data in tableDataDeductions">
								<td>
									<div class="text-center" title="{{data.point}}">
										<span ng-bind="data.point"></span>
									</div>
								</td>
								<td>
									<div title="{{data.ratingCategory}}" ng-bind="data.ratingCategory"></div>
								</td>
							</tr>
						</tbody>
				</table>
			</div>
		</div>
	</div>
	<div class="modal-footer">
	<div class="col-xs text-center">
		<button type="button" class="btn btn-primary btn-sm" ng-click="saveIntegrityPoints();">保存</button>
		<button type="button" class="btn btn-primary btn-sm" ng-click="onClose();" >取消</button>
	</div>
</div>
</div>